Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 9 - Camera Objects / Camera Objects Reference
Data Structures


Camera Range Structure

You use a camera range structure to get or set the hither and yon clipping planes for a camera. A camera range structure is defined by the TQ3CameraRange data type.

typedef struct TQ3CameraRange {
   float                      hither;
   float                      yon;
} TQ3CameraRange;
Field Description
hither
The distance (measured along the camera vector) from the camera's location to the near clipping plane. The value in this field should always be greater than 0.
yon
The distance (measured along the camera vector) from the camera's location to the far clipping plane. The value in this field should always be greater than the value in the hither field.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996